package com.example.module.custom.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.module.custom.R;

/**
 * Created by 孝杰 on 2019/12/19.
 */
public class SearchAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public SearchAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.text, item);
    }
}
